package com.knowif.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class UserChat {
    private Integer id;

    private String content;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    private Integer parentId;

    private String pic;

    private Integer userId;

    private Integer userOrderId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getUserOrderId() {
        return userOrderId;
    }

    public void setUserOrderId(Integer userOrderId) {
        this.userOrderId = userOrderId;
    }

	@Override
	public String toString() {
		return "UserChat [id=" + id + ", content=" + content + ", createTime=" + createTime + ", parentId=" + parentId
				+ ", pic=" + pic + ", userId=" + userId + ", userOrderId=" + userOrderId + "]";
	}
    
    
}